<form id="skill-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">
    <input id="userid" name="userid" type="text" class="hidden" value="{$userid}">
    {volist name="data" id="vo"}
    <div class="form-group">
        <label for="c-skill{$vo.id}" class="control-label col-xs-12 col-sm-2">{$vo.znname}</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-skill" class="form-control" name="skill_id[{$vo.id}]" type="number" value="{$vo.value}">
        </div>
    </div>
    {/volist}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
        </div>
    </div>
</form>
